<%= error_messages_for 'out_record' %>


<p><label for="reader_id">读者姓名:</label><br/>
<%= select 'out_record' , 'reader_id',[[@reader.reader_name,@reader.id]] %></p>

<p><label for="book_id">借阅图书:</label><br/>
<%= select 'out_record', 'book_id' , [[@book.book_name,@book.id]]%></p>

<p><label for="buy_date">借阅日期:</label><br/>
<%= text_field 'out_record', 'date' %></p>

<p><label for="buy_date">归还日期:</label><br/>
<%= text_field 'out_record' , 'return_date' %></p>
